﻿ 
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace AppSocketModel
{
    /// <summary>
    /// 产品
    /// </summary>
    public class ProductBuyInfoDto
    {
        /// <summary>
        /// 购买公司Id
        /// </summary>
        [Required(ErrorMessage = "购买公司Id")]
        public int CompanyId { set; get; }

        /// <summary>
        /// 购买公司名称
        /// </summary>
        public string CompanyName { set; get; }

        /// <summary>
        /// 购买日期
        /// </summary>
        [Required(ErrorMessage = "购买日期")]
        public DateTime BuyDate { set; get; }

        /// <summary>
        /// IMEI列表
        /// </summary>
        [Required(ErrorMessage = "IMEI列表")]
        public List<string> ImeiList { set; get; }


    }
}
